package com.huilian.tool.work.weixin.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author 少凡
 * @Date 2022-06-25 16:25
 * version 1.0
 */
@Data
public class Order {

    private String corpid;
    private String buyer_userid;
    private AccountCount account_count = new AccountCount();
    private AccountDuration account_duration = new AccountDuration();
    private AccountList account_list = new AccountList();
    private String jobid;
    private Date start_time;
    private Date end_time;
    private String cursor;
    private Integer limit;
    private String order_id;
    private String active_code;
    private String userid;
    private List<TransferList> transfer_list;


    @Data
    public  class AccountCount {
        //基础帐号个数
        private Integer base_count;
        //互通帐号个数
        private Integer external_contact_count;

    }

    @Data
    public  class AccountDuration {
        private Integer months;
    }

    @Data
    public  class AccountList{
        private String userid;
        private Integer type;
    }

    @Data
    public class TransferList{
        private String handover_userid;
        private String takeover_userid;
    }

}
